GetFiles. Get a list of files in the current device.

Request

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<in method="GetFiles"/>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

-->

Respond

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<out method="GetFiles" result="##result">

<files>

<file size="##value" existSize="##value" md5="##value" type="##value" name="##value"/>

</files>

</out>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. out.method = GetFiles

    3. out.result (The error code refers to ErrorCode.)

    4. out.result: When the value is not "kSuccess", out has no child nodes.

    5. The files tag can contain multiple file subnodes.

    6. file.size: The actual size of the file (in bytes).

    7. file.existSize: The size (in bytes) of the file stored in the lower computer.)

    8. If file.existSize is less than file.size, the file is not transferred.

    9. If file.existSize is equal to file.size, it indicates that the file has completed the transfer.

    10.If file.existSize is greater than file.size and the file is in error, the file should be deleted.

    11.file.md5: The md5 value of the file. For example: "ce3002778cb9e5e973a9301f81aef64e".

    12.file.type: File type, range of values {"image", "video", "font", "fireware", "setting" (basic firmware parameter), "fpga" (FPGA configuration) parameter)}.

-->